<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>活动页 </title>
</head>
<style>
    * {
        margin: auto 0px;
        padding: 0px;
    }

    .main {
        width: 100%;
        height: 100%;
        background-image: url('__STATIC__/lottery/image/bg.jpg');
        -webkit-background-size: 100% 100%;
        background-size: 100% 100%;
        position: absolute;
        overflow: hidden;
    }

    .logo {
        width: 14%;
        position: absolute;
        top: 3%;
        right: 6%;
    }

    .cover {
        width: 80%;
        position: absolute;
        top: 0%;
        left: 10%;
    }

    .cover img {
        width: 630px;
    }

    .content {
        width: 76%;
        position: absolute;
        top: 43%;
        left: 12%;
    }

    .box {
        border-radius: 5px;
        font-size: 14px;
        border: 1px dashed rgba(0, 0, 0, 0.3);
    }

    .box img, .cover img, .logo img {
        width: 100%;
    }

    .time {
        position: absolute;
        left: 0;
        width: 100%;
        top: 34%;
        font-size: 1.23rem;
        text-align: center;
        color: #a63008;
        font-weight: bold;
    }
</style>
<body>
<div class="main">

    <div class="cover">
        {notempty  name="newcode.bg_img"}
        <img src="__ROOT__/uploads/image/{$newcode.bg_img}">
        {else/}
        <img src="__ROOT__/uploads/image/{:Cache('systemsystem'. cookie('think_var'))['LOGO']['value']}">
        {/notempty}

    </div>
    <div class="logo">
        {notempty  name="newcode.bg_img"}
        <img src="__ROOT__/uploads/image/{$newcode.logo_img}">
        {/notempty}
    </div>
    <div class="content">
        <div class="box">
            <img src="__STATIC__/lottery/image/redEnvelope_sao.png">

            {eq name="newcode.state" value="0"}
            <!--<img src="$data['image']">-->

            <p class="time">恭喜你{$newcode['name']}获得{$newcode['money']}元领取了</p>
            {else/}
            <p class="time">{$newcode['get_time']|date="Y-m-d H:i:s",###}</p>
            {/eq}
        </div>

    </div>
</div>


</body>
</html>